package cn.com.shopec.erp.warehouse.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
/**
 * @ClassName: StockTransfer.java
 * @Description: 库存挑拨单商品表
 * @author: zengxuezhou
 * @date: 2017年1月24日 下午2:53:32
 */
@Entity
@Table(name = "TBL_STOCK_TRANSFER_PRODUCT")
public class StockTransferProduct implements java.io.Serializable {

	private static final long serialVersionUID = 3851951949891433199L;
	
	/** 主键 **/
	private String id;
	/** 调拨单号 **/
	private String transferNo;
	/** 供应商编号 **/
	private String supNo;
	/** 供应商名称 **/
	private String supName;
	/** 商品编号 **/
	private String prodNo;
	/** 商品编号 **/
	private String commoNo;
	/** 商品名称 **/
	private String commoName;
	/** 规格 **/
	private String specName;
	/** 调拨良品数量 **/
	private Long qualifiedQuantity;
	/** 调拨次品数量 **/
	private Long defectiveQuantity;
	
	@Id
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false, length = 32)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "PROD_NO")
	public String getProdNo() {
		return prodNo;
	}

	public void setProdNo(String prodNo) {
		this.prodNo = prodNo;
	}

	@Column(name = "COMMO_NO")
	public String getCommoNo() {
		return commoNo;
	}

	public void setCommoNo(String commoNo) {
		this.commoNo = commoNo;
	}
	
	@Column(name = "SUP_NO")
	public String getSupNo() {
		return supNo;
	}

	public void setSupNo(String supNo) {
		this.supNo = supNo;
	}

	@Column(name = "TRANSFER_NO")
	public String getTransferNo() {
		return transferNo;
	}

	public void setTransferNo(String transferNo) {
		this.transferNo = transferNo;
	}

	@Column(name = "SUP_NAME")
	public String getSupName() {
		return supName;
	}

	public void setSupName(String supName) {
		this.supName = supName;
	}
	@Column(name = "COMMO_NAME")
	public String getCommoName() {
		return commoName;
	}

	public void setCommoName(String commoName) {
		this.commoName = commoName;
	}
	
	@Column(name = "SPEC_NAME")
	public String getSpecName() {
		return specName;
	}

	public void setSpecName(String specName) {
		this.specName = specName;
	}

	@Column(name = "QUALIFIED_QUANTITY")
	public Long getQualifiedQuantity() {
		return qualifiedQuantity;
	}

	public void setQualifiedQuantity(Long qualifiedQuantity) {
		this.qualifiedQuantity = qualifiedQuantity;
	}
	
	@Column(name = "DEFECTIVE_QUANTITY")
	public Long getDefectiveQuantity() {
		return defectiveQuantity;
	}

	public void setDefectiveQuantity(Long defectiveQuantity) {
		this.defectiveQuantity = defectiveQuantity;
	}
	
}
